package com.mijie.exception;

public class PermissionDeniedException extends Exception {

	private static final long serialVersionUID = 1L;

	private long id;
	private int owner;
	private int operator;
	
	public PermissionDeniedException(long id,int owner,int operator){
		this.id = id;
		this.owner = owner;
		this.operator = operator;
	}
	
	@Override
	public String getMessage() {
		return "Record Access Permission denied : operator="+operator+",owner="+owner;
	}
	
}
